Skip to content

Conversation

@sdras
Copy link
Member

@sdras sdras commented Jul 19, 2020

We don't have to go in this direction, but I thought it might be nice to separate from the default vuepress styles and go a little more towards the default vue docs syntax highlighting. Let me know what you think!

@NataliaTepluhina
Copy link
Member

@sdras it looks nice! The only thing is line numbers are very contrasting comparing to the code itself:

Screenshot_7

@sdras
Copy link
Member Author

sdras commented Jul 19, 2020

Good shout! The line highlighting isn't showing up locally so trying a few things here, one sec

Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great now! Approved

const MOBILE_DESKTOP_BREAKPOINT = 719 // refer to config.styl
const NAVBAR_VERTICAL_PADDING = parseInt(css(this.$el, 'paddingLeft')) + parseInt(css(this.$el, 'paddingRight'))
const NAVBAR_VERTICAL_PADDING =
parseInt(css(this.$el, 'paddingLeft')) +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parseInt(..., 10) ?

@sdras sdras merged commit ae9dcdf into master Jul 19, 2020
@NataliaTepluhina NataliaTepluhina deleted the syntax-highlighting branch August 3, 2020 04:42
TalexDreamSoul pushed a commit to Talexs/docs that referenced this pull request Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants